package com.zougen202301180355.restaurant.mapper;


import com.zougen202301180355.restaurant.pojo.MenuItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuItemsMapper {
    void insert(MenuItem menuItem);
    void delete(@Param("id") Integer id);
    void update(MenuItem menuItem);
    MenuItem selectById(@Param("id") Integer id);
    List<MenuItem> selectAll();
}